<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center order_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-center flex-sub order_fd0_0'>
					<text class='order_fd0_0_c0'>订单</text>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<view class="flex benben-position-layout flex flex-wrap align-center order_flex_1"
				:style="{top:(88+StatusBarRpx)+'rpx', }">
				<view>
					<benben-flex-tabs class-name='order_benbenTabsfd1_0' v-model="tab" ref="benben_tabsfd1_0"
						select-mark="benben_tabsfd1_0" key="benben_tabsfd1_0" :open-title-type='false'
						:open-sticky='true' :top='88' :is-show-content='false' :scrollspy='false'
						:tabs-info.sync="tabsInfofd1_0" @change="getOrderFunc()">

						<scroll-view @scroll="tabsInfofd1_0.scrollX = $event.detail.scrollLeft" id="benben_tabsfd1_0"
							class="benben-tabs" style="width:750rpx" :scroll-x="true"
							:scroll-left.sync="tabsInfofd1_0.moveX" scroll-with-animation="all .3s ease">
							<view class="benben-tabs-content" id="benben_tabsfd1_0-content">
								<view id="benben_tabsfd1_0-title"
									class="benben-tabs-title flex flex align-center justify-around">
									<view
										:class="{ 'checkTitlefd1_0': tab == '0', 'flex flex-wrap align-center': true }"
										@tap="tab = '0'" :id="`benben_tabsfd1_0-title-item-${'0'}`">

										<text>全部</text>

									</view>
									<view
										:class="{ 'checkTitlefd1_0': tab == '50', 'flex flex-wrap align-center': true }"
										@tap="tab = '50'" :id="`benben_tabsfd1_0-title-item-${'50'}`">

										<text>拼团中</text>

									</view>
									<view
										:class="{ 'checkTitlefd1_0': tab == '10', 'flex flex-wrap align-center': true }"
										@tap="tab = '10'" :id="`benben_tabsfd1_0-title-item-${'10'}`">

										<text>待接单</text>

									</view>
									<view
										:class="{ 'checkTitlefd1_0': tab == '20', 'flex flex-wrap align-center': true }"
										@tap="tab = '20'" :id="`benben_tabsfd1_0-title-item-${'20'}`">

										<text>待服务</text>

									</view>
									<view
										:class="{ 'checkTitlefd1_0': tab == '30', 'flex flex-wrap align-center': true }"
										@tap="tab = '30'" :id="`benben_tabsfd1_0-title-item-${'30'}`">

										<text>服务中</text>

									</view>
									<view
										:class="{ 'checkTitlefd1_0': tab == '40', 'flex flex-wrap align-center': true }"
										@tap="tab = '40'" :id="`benben_tabsfd1_0-title-item-${'40'}`">

										<text>待评价</text>

									</view>
									<view
										:class="{ 'checkTitlefd1_0': tab == '45', 'flex flex-wrap align-center': true }"
										@tap="tab = '45'" :id="`benben_tabsfd1_0-title-item-${'45'}`">

										<text>已完成</text>

									</view>
								</view>
								<view :style="{ left: tabsInfofd1_0.lineleft, maxWidth: tabsInfofd1_0.lineWidth ,}"
									id="benben_tabsfd1_0-line"
									class="benben-tabs-line flex benben-flex-tabs-line order_linefd1_0"></view>
							</view>
						</scroll-view>

					</benben-flex-tabs>

				</view>
				<view class='flex flex-wrap align-center justify-center flex-sub'>
					<image class='order_fd1_1_c0' mode="aspectFit" :src='STATIC_URL+"496.png"'
						@tap.stop="popupShow1709348772735=true"></image>
				</view>

			</view>
			<view :style="{height: ''}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout order_flex_2">
				<view class='flex flex-wrap align-center order_fd2_0'>
				</view>
				<template v-for='(item,key0) in orderList'>
					<view class='flex flex-direction flex-wrap align-stretch order_fd2_1' :key='key0'>
						<view class='flex flex-wrap align-center order_fd2_1_c0'>
							<text class='order_fd2_1_c0_c0'>订单编号：</text>
							<text class='flex-sub order_fd2_1_c0_c1'>{{item.order_sn}}</text>
							<text class='order_fd2_1_c0_c2'>{{item.order_status_name}}</text>
							<text class='order_fd2_1_c0_c20089' v-if="item.service_type == '1'">一口价</text>
							<text class='order_fd2_1_c0_c20089' v-if="item.service_type == '2'">议价</text>
							<text class='order_fd2_1_c0_c20089' v-if="item.service_type == '3'">竞价</text>
						</view>
						<view class='flex flex-direction flex-wrap align-stretch order_fd2_1_c1' @tap="handleJumpDiy"
							data-type="navigateTo" :data-url="`/pages/index/orderDetails/orderDetails?aid=${item.aid}`">
							<view class='flex flex-wrap align-start order_fd2_1_c1_c0'>
								<image class='order_fd2_1_c1_c0_c0' mode="aspectFill" :src='item.serviceproject_photo'>
								</image>
								<view class='flex flex-direction flex-wrap align-stretch flex-sub order_fd2_1_c1_c0_c1'>
									<text class='order_fd2_1_c1_c0_c1_c0'>{{item.serviceproject_biaoti}}</text>
									<view class='flex flex-wrap align-center order_fd2_1_c1_c0_c1_c1'>
										<text class='order_fd2_1_c1_c0_c1_c1_c0'>时间：</text>
										<text class='order_fd2_1_c1_c0_c1_c1_c0'>{{item.door_time}}</text>
									</view>
									<view class='flex flex-wrap align-center order_fd2_1_c1_c0_c1_c2'>
										<text class='order_fd2_1_c1_c0_c1_c1_c0'>地址：</text>
										<text
											class='flex-sub order_fd2_1_c1_c0_c1_c2_c1'>{{item.address.address}}</text>
									</view>
								</view>
							</view>
							<view class='flex flex-wrap align-center' v-if="Object.keys(item.jiedanren).length">
								<image class='order_fd2_1_c1_c1_c0' mode="aspectFit" :src='item.jiedanren.avatar'>
								</image>
								<text class='order_fd2_1_c1_c1_c1'>{{item.jiedanren.nickname}}</text>
								<view class='flex flex-wrap align-center'>
									<template v-for="starNum in [1,2,3,4,5]">
										<image v-if="item.jiedanren.fuwuxingji >= starNum" :key="starNum"
											class='order_star1fd2_1_c1_c1_c2' mode="aspectFit"
											:src='STATIC_URL+"143.png"'></image>
										<image v-else :key="starNum" class='order_star1fd2_1_c1_c1_c2' mode="aspectFit"
											:src='STATIC_URL+"91.png"'></image>
									</template>
								</view>
								<image class='order_fd2_1_c1_c1_c3' mode="aspectFit" :src='STATIC_URL+"103.png"'
									@tap.stop="callMobile(item.jiedanren.mobile)" v-if=" item.order_status!='5'">
								</image>
							</view>
						</view>
						<view class='flex flex-wrap align-center justify-end order_fd2_1_c2'
							v-if=" item.service_type!='3' && item.order_status=='5'">
							<view class='flex flex-wrap align-center order_fd2_1_c2_c0' v-if="item.order_status=='5'">
								<text class='order_fd2_1_c2_c0_c0'>距支付剩余</text>
								<benben-countdown class=' order_fd2_1_c2_c0_c1' :show-day='false' :time-type='false'
									:count-time="item.countdown">
									<template #default="{ d, h, i, s }">
										<text class='order_fd2_1_c2_c0_c1_c2'>{{h}}</text>

										<text class='order_fd2_1_c2_c0_c1_c2'>:</text>

										<text class='order_fd2_1_c2_c0_c1_c2'>{{i}}</text>

										<text class='order_fd2_1_c2_c0_c1_c2'>:</text>

										<text class='order_fd2_1_c2_c0_c1_c2'>{{s}}</text>

										<text class='order_fd2_1_c2_c0_c1_c2'></text>
									</template>
								</benben-countdown>
							</view>
							<text class='order_fd2_1_c2_c1'>待支付</text>
							<view class='flex flex-wrap align-end'>
								<text class='order_fd2_1_c2_c2_c0'>￥</text>
								<text class='order_fd2_1_c2_c2_c1'>{{item.total_amount}}</text>
							</view>
						</view>
						<view class='flex flex-wrap align-center justify-end order_fd2_1_c3'>
							<image class='order_fd2_1_c3_c0' mode="aspectFit" :src='STATIC_URL+"145.png"'
								@tap.stop="assignmentDeleteFunc(item.aid)" v-if=" in_array(item.order_status,'45,-1')">
							</image>
							<button class='order_fd2_1_c3_c1' @tap.stop="handleJumpDiy" data-type="navigateTo"
								:data-url="`/pages/my/contactCustomerService/contactCustomerService`">联系客服</button>
							<button class='order_fd2_1_c3_c1' @tap.stop="cancalAssignmentFunc(item.aid)"
								v-if=" in_array(item.order_status,'5,10,15,50')">取消订单</button>
							<button class='order_fd2_1_c3_c1' @tap.stop="handleJumpDiy" data-type="navigateTo"
								:data-url="`/pages/index/lookQuotation/lookQuotation?id=${item.aid}`"
								v-if=" item.order_status=='5' && item.service_type=='3'">查看报价</button>
							<button class='order_fd2_1_c3_c1' @tap.stop="complaintJumpFunc(item)"
								v-if=" in_array(item.order_status,'35,40,45')">{{item.is_complaint?'查看投诉':'投诉'}}</button>
							<button class='order_fd2_1_c3_c5' @tap.stop="handleJumpDiy" data-type="navigateTo"
								:data-url="`/pages/index/evaluate/evaluate?id=${item.aid}`"
								v-if=" item.order_status=='40'">去评价</button>
							<button class='order_fd2_1_c3_c6' @tap.stop="handleJumpDiy" data-type="navigateTo"
								:data-url="`/pages/index/userEvaluation/userEvaluation?id=${item.aid}&type=1`"
								v-if=" item.order_status=='45'">查看评价</button>
							<button class='order_fd2_1_c3_c6' @tap.stop="handleJumpDiy" data-type="navigateTo"
								:data-url="`/pages/index/cashier/cashier?money=${item.two_amount.pay_money}&order_sn=${item.two_amount.pay_order_sn}&order_type=13&syccessType=2`"
								v-if=" item.service_type=='3' && item.order_status=='25'">去支付</button>
							<button class='order_fd2_1_c3_c6' @tap.stop="assignmentCompleteFunc(item.aid)"
								v-if=" in_array(item.order_status,'35')">确认完成</button>
							<button class='order_fd2_1_c3_c6' @tap.stop="handleJumpDiy" data-type="navigateTo"
								:data-url="`/pages/index/cashier/cashier?money=${item.two_amount.pay_money}&order_sn=${item.two_amount.pay_order_sn}&order_type=13&syccessType=2`"
								v-if=" item.order_status=='25' && item.service_type!='3'">去支付</button>
							<button class='order_fd2_1_c3_c6'
								@tap.stop="postNoDataFunc(item.total_amount,item.countdown,item.deposit_amount.pay_order_sn,item.serviceproject_id,item.group_id)"
								v-if=" item.order_status=='5' && item.service_type!='3' && item.group_id !=''">去支付</button>
							<button class='order_fd2_1_c3_c6' @tap.stop="handleJumpDiy" data-type="navigateTo"
								:data-url="`/pages/index/cashier/cashier?money=${item.total_amount}&countdown=${item.countdown}&order_sn=${item.deposit_amount.pay_order_sn}&order_type=13&syccessType=1`"
								v-if=" item.order_status=='5' && item.service_type!='3' && item.group_id ==''">去支付</button>
							<button class='order_fd2_1_c3_c6'
								@tap.stop="invoiceTransferFunc(item.invoice,item.order_sn)"
								v-if=" in_array(item.order_status,'40,45')">{{item.invoice==1?"申请发票":"查看发票"}}</button>
							<button class='order_fd2_1_c3_c6' v-if="item.order_status=='50'" @tap="handleJumpDiy"
								data-type="navigateTo"
								:data-url="`/pages/index/orderDetails/orderDetails?aid=${item.aid}`">邀请好友</button>
						</view>
					</view>
				</template>
				<fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
					:listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
				<view class='flex flex-wrap align-center' v-if=" isLogin===false">
					<benben-empty>
						<view class='flex flex-direction flex-wrap align-center order_fd2_2_c0'>
							<image class='order_fd2_2_c0_c0' mode="widthFix" :src='STATIC_URL+"62.png"'></image>
							<button class='order_fd2_2_c0_c1' @tap.stop="handleJumpDiy" data-type="navigateTo"
								:data-url="`/pages/tabBar/login/login`">您还没有登录，去登录</button>

						</view>
					</benben-empty>
				</view>
			</view>

			<!---flex布局flex布局结束-->
			<benben-popup v-model="popupShow1693644548462" :mask="true" :mask-close-able="false" mode='center'>
				<!---完成订单弹窗flex布局开始-->
				<view class="flex benben-flex-layout flex-wrap align-center">
					<view class='flex flex-direction flex-wrap align-center order_fd3_0'>
						<text class='order_fd3_0_c0'>提示</text>
						<text class='order_fd3_0_c1'>您预约的服务已完成，如您未验收或验收有问题请点击“取消”，并联系平台客服或直接投诉；如您已验收完成请点击“确认”。</text>
						<view class='flex align-center order_fd3_0_c2'>
							<button class='order_fd3_0_c2_c0' @tap.stop="popupShow1693644548462=false">取消</button>
							<button class='order_fd3_0_c2_c1' @tap.stop="postCompleteFunc()">确认</button>
						</view>
					</view>
				</view>

				<!---完成订单弹窗flex布局结束-->

			</benben-popup>
			<benben-popup v-model="popupShow1693640292863" :mask="true" :mask-close-able="false" mode='center'>
				<!---退出登录flex布局开始-->
				<view class="flex flex-direction flex-wrap align-center order_flex_4"
					@tap.stop="popupShow1650940432200=true">
					<text class='order_fd4_0'>提示</text>
					<text class='order_fd4_1'>确定要删除该订单吗？</text>
					<view class='flex flex-wrap align-center order_fd4_2'>
						<button class='order_fd4_2_c0' @tap.stop="popupShow1693640292863=false">取消</button>
						<button class='order_fd4_2_c1' @tap.stop="postDeleteFunc()">确定</button>
					</view>
				</view>

				<!---退出登录flex布局结束-->

			</benben-popup>
			<benben-popup v-model="popupShow1679991535537" :mask="true" :mask-close-able="true" mode='bottom'>
				<!---取消订单弹窗flex布局开始-->
				<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout order_flex_5">
					<view class='flex flex-wrap align-center justify-between order_fd5_0'>
						<view class='flex flex-wrap align-center order_fd5_0_c0'>
						</view>
						<text class='order_fd5_0_c1'>取消订单</text>
						<view class='flex flex-wrap align-center justify-end order_fd5_0_c0'
							@tap.stop="popupShow1679991535537=false">
							<image class='order_fd5_0_c2_c0' mode="aspectFit" :src='STATIC_URL+"148.png"'
								@tap.stop="popupShow1679991535537=false"></image>
						</view>
					</view>
					<view class='flex flex-direction flex-wrap align-stretch order_fd5_1'>
						<text class='order_fd5_1_c0'>请选择取消订单原因</text>
						<benben-select-diy ref="showSelectPopup1679991053613"
							class-name='flex flex-direction align-stretch flex' :items.sync="cancelType"
							v-model="cancel_id" default-type="aid" default-label="quxiaoyuanyin" :allow-cancel='false'
							type="radio" :disabled='false'>
							<template v-for='(item,key0) in cancelType'>
								<view v-if="item.isSelected"
									class='flex align-center justify-between flex order_fd5_1_c1_c0' :key="key0"
									@tap="$refs.showSelectPopup1679991053613.tapHandle(key0)">
									<text class='order_fd5_1_c1_c0_c0'>{{item.quxiaoyuanyin}}</text>
									<image class='order_fd5_1_c1_c0_c1' mode="aspectFit" :src='STATIC_URL+"133.png"'>
									</image>
								</view>
								<view v-else class='flex align-center justify-between flex order_fd5_1_c1_c0'
									:key="key0" @tap="$refs.showSelectPopup1679991053613.tapHandle(key0)">
									<text class='order_fd5_1_c1_c0_c0'>{{item.quxiaoyuanyin}}</text>
									<image class='order_fd5_1_c1_c0_c1' mode="aspectFit" :src='STATIC_URL+"150.png"'>
									</image>
								</view>
							</template></benben-select-diy>
					</view>
					<button class='order_fd5_2' @tap.stop="postCancalOrderFunc()">确定</button>
				</view>

				<!---取消订单弹窗flex布局结束-->

			</benben-popup>
			<benben-popup v-model="popupShow1709348772735" :mask="true" :mask-close-able="true" mode='right'>

				<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout order_flex_6">
					<view class='flex flex-wrap align-center order_fd6_0'>
						<text class='order_fd6_0_c0'>筛选</text>
					</view>
					<view class='flex align-center justify-between order_fd6_1'>
						<text class='order_fd6_1_c0'>下单时间</text>
					</view>
					<view class='flex flex-wrap align-center order_fd6_2'>
						<benben-select-diy ref="showSelectPopup1709348786617" class-name='flex flex-wrap flex'
							:items.sync="downType.search_time" v-model="down_id" default-type="aid" default-label="name"
							:allow-cancel='false' type="radio" :disabled='false'>
							<template v-for='(item,key0) in downType.search_time'>
								<view v-if="item.isSelected" class='flex flex' :key="key0"
									@tap="$refs.showSelectPopup1709348786617.tapHandle(key0)">
									<button class='order_fd6_2_c0_c0_c0'>{{item.name}}</button>
								</view>
								<view v-else class='flex flex' :key="key0"
									@tap="$refs.showSelectPopup1709348786617.tapHandle(key0)">
									<button class='order_fd6_2_c0_c1_c0'>{{item.name}}</button>
								</view>
							</template></benben-select-diy>
					</view>
					<view class='flex align-center justify-between order_fd6_3'>
						<text class='order_fd6_1_c0'>订单类型</text>
					</view>
					<view class='flex flex-wrap align-center order_fd6_2'>
						<benben-select-diy ref="showSelectPopup1709348098224" class-name='flex flex'
							:items.sync="downType.search_type" v-model="down_id2" default-type="aid"
							default-label="name" :allow-cancel='false' type="radio" :disabled='false'>
							<template v-for='(item,key0) in downType.search_type'>
								<view v-if="item.isSelected" class='flex flex' :key="key0"
									@tap="$refs.showSelectPopup1709348098224.tapHandle(key0)">
									<button class='order_fd6_4_c0_c0_c0'>{{item.name}}</button>
								</view>
								<view v-else class='flex flex' :key="key0"
									@tap="$refs.showSelectPopup1709348098224.tapHandle(key0)">
									<button class='order_fd6_4_c0_c1_c0'>{{item.name}}</button>
								</view>
							</template></benben-select-diy>
					</view>
					<view class='flex align-center justify-between order_fd6_3'>
						<text class='order_fd6_1_c0'>订单标记</text>
					</view>
					<view class='flex flex-wrap align-center order_fd6_2'>
						<benben-select-diy ref="showSelectPopup1709351548252" class-name='flex flex-wrap flex'
							:items.sync="downType.search_label" v-model="down_id3" default-type="aid"
							default-label="name" :allow-cancel='false' type="radio" :disabled='false'>
							<template v-for='(item,key0) in downType.search_label'>
								<view v-if="item.isSelected" class='flex flex' :key="key0"
									@tap="$refs.showSelectPopup1709351548252.tapHandle(key0)">
									<button class='order_fd6_2_c0_c0_c0'>{{item.name}}</button>
								</view>
								<view v-else class='flex flex' :key="key0"
									@tap="$refs.showSelectPopup1709351548252.tapHandle(key0)">
									<button class='order_fd6_2_c0_c1_c0'>{{item.name}}</button>
								</view>
							</template></benben-select-diy>
					</view>
					<view class='flex flex-wrap align-center justify-center order_fd6_7'>
						<button class='order_fd6_7_c0' @tap.stop="resettingFuncFunc()">重置</button>
						<button class='order_fd6_7_c1' @tap.stop="confirmFunc()">确定</button>
					</view>
				</view>



			</benben-popup>


		</view>
	</view>
</template>
<script>
	import pagingList from '@/common/mixin/paging_list.js';
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},
		mixins: [pagingList],

		data() {
			return {
				"popupShow1709348772735": false,
				"popupShow1679991535537": false,
				"popupShow1693640292863": false,
				"popupShow1693644548462": false,
				"msgNum": {
					"order_num": "",
					"sys_num": "",
					"no_read_num": "",
					"new_order_message": "",
					"new_sys": "",
					"order_time": "",
					"sys_time": ""
				},
				"tabsInfofd1_0": {
					lineleft: '',
					lineWidth: '',
					moveX: 0,
					scrollX: 0,
					PageScrollX: 0
				},
				"minixPagingListsApi": "",
				"pageingListApiMethod": "",
				"allowOnloadGetList": false,
				"cancelType": [],
				"cancel_id": "",
				"orderList": [],
				"cancelOrder_id": "",
				"down": false,
				"downType": {
					"search_time": [],
					"search_type": [],
					"search_label": []
				},
				"down_id": "0",
				"type": "1",
				"down_id2": "0",
				"down_id3": "0",
				"brandList": [{
					"name": "德庄",
					"value": "1",
					"image": ""
				}, {
					"name": "德庄",
					"value": "2",
					"image": ""
				}],
				"brand_id": "",
				"priceList": [{
					"name": "0-99元",
					"value": "0-99",
					"image": ""
				}, {
					"name": "100-500元",
					"value": "100-500",
					"image": ""
				}, {
					"name": "500-1000元",
					"value": "500-1000",
					"image": ""
				}],
				"price_id": "",
				"tab": "0"
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
			isLogin() {
				return this.$store.state.token == '' ? false : true;
			}
		},
		watch: {},
		onLoad(options) {
			let {
				tab
			} = options
			if (tab !== undefined) this.tab = tab
			this.getTypeFunc()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {
			this.getOrderFunc()
			this.getCancalReasonFunc()
			this.getNoReadNumFuncFunc()
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {
			this.getOrderFunc()
		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//提交支付不能拼团满员之后支付
			async postNoDataFunc(total_amounts, countdowns, pay_order_sns, ids, aids) {
				//请求方法
				//数据验证

				let datanoData = await this.$api.post(global.apiUrls.post6719fc63b2ad3, {
					aid: ids, // 服务ID	
					group_id: aids, //拼团ID

				});
				if (datanoData.data.code != 1) {
					this.$message.info(datanoData.data.msg);
					return
				}
				let infonoData = datanoData.data;
				this.noData = infonoData.data
				this.$urouter.navigateTo(
					`/pages/index/cashier/cashier?money=${total_amounts}&countdown=${countdowns}&order_sn=${pay_order_sns}&order_type=13&syccessType=1`
				);
			},
			//获取订单列表
			getOrderFunc() {
				if (this.isLogin === true) {
					this.minixPagingListsApi = global.apiUrls.post63942c7d93a37;
					this.pageingListApiMethod = 'aGet';
					this.allowOnloadGetList = false;
					this.pagingListPostDataContent = {
						order_status: this.tab,
						search_time: this.down_id,
						search_type: this.down_id2,
						search_label: this.down_id3
					}
					this.listData = [];
					this.orderList = this.listData;
					this.pagingListToggle();

				} else {
					this.pagingListLoadedAll = true
					this.pagingListNoListData = true
				}
			},
			//获取取消原因
			async getCancalReasonFunc() {
				if (this.isLogin === true) {
					//请求方法
					//数据验证

					let datacancelType = await this.$api.get(global.apiUrls.post63a5069232b22, {

					});

					if (datacancelType.data.code != 1) {
						this.$message.info(datacancelType.data.msg);
						return
					}
					let infocancelType = datacancelType.data;
					this.cancelType = infocancelType.data

					this.cancel_id = this.cancelType[0]?.aid
				}
			},
			//取消订单赋值
			cancalAssignmentFunc(cancalID) {
				this.cancelOrder_id = cancalID;
				this.popupShow1679991535537 = true;
			},
			//提交取消订单
			async postCancalOrderFunc() {
				if (!validate(this.cancel_id, 'require')) {
					this.$message.info('请选择取消原因');
					return false;
				}
				//请求方法
				//数据验证

				let data63946c3695c49 = await this.$api.dbPost(global.apiUrls.post63946c3695c49, {
					aid: this.cancelOrder_id,
					cancel_reason: this.cancel_id
				});
				if (!data63946c3695c49) return
				if (data63946c3695c49.data.code != 1) {
					this.$message.info(data63946c3695c49.data.msg);
					return
				}
				this.$message.info('取消订单成功'); 
				this.popupShow1679991535537 = false;
				this.cancel_id = ''
				this.getOrderFunc()
			},
			//提交确认完成
			async postCompleteFunc() {
				//请求方法
				//数据验证

				let data63945ab2014ef = await this.$api.dbPost(global.apiUrls.post63945ab2014ef, {
					aid: this.cancelOrder_id
				});
				if (!data63945ab2014ef) return
				if (data63945ab2014ef.data.code != 1) {
					this.$message.info(data63945ab2014ef.data.msg);
					return
				}



				this.popupShow1693644548462 = false;
				this.getOrderFunc()
			},
			//提交删除订单
			async postDeleteFunc() {
				//请求方法
				//数据验证

				let data63a03271a4758 = await this.$api.dbPost(global.apiUrls.post63a03271a4758, {
					aid: this.cancelOrder_id
				});
				if (!data63a03271a4758) return
				if (data63a03271a4758.data.code != 1) {
					this.$message.info(data63a03271a4758.data.msg);
					return
				}



				this.popupShow1693640292863 = false;
				this.getOrderFunc()
			},
			//删除赋值
			assignmentDeleteFunc(deleteID) {
				this.cancelOrder_id = deleteID;
				this.popupShow1693640292863 = true;
			},
			//确认完成赋值
			assignmentCompleteFunc(completeID) {
				this.cancelOrder_id = completeID;
				this.popupShow1693644548462 = true;
			},
			//获取下拉选择
			async getTypeFunc() {
				//请求方法
				//数据验证

				let datadownType = await this.$api.get(global.apiUrls.post653a0b0bbe30b, {

				});

				if (datadownType.data.code != 1) {
					this.$message.info(datadownType.data.msg);
					return
				}
				let infodownType = datadownType.data;
				this.downType = infodownType.data

			},
			//重置
			resettingFuncFunc() {
				this.down_id = 0;
				this.down_id2 = 0;
				this.down_id3 = 0;
			},
			//确认
			confirmFunc() {
				this.getOrderFunc()
				this.popupShow1709348772735 = false;
			},
			//判断投诉跳转
			complaintJumpFunc(res) {
				if (res.is_complaint) {
					this.$urouter.navigateTo(`/pages/my/complaintDetaiuls/complaintDetaiuls?id=${res.is_complaint}`);
				} else {
					this.$urouter.navigateTo(`/pages/my/complaint/complaint?aid=${res.aid}&order_sn=${res.order_sn}`);
				}
			},
			//判断发票跳转
			invoiceTransferFunc(invoice, order_sn) {
				if (invoice == 1) {
					this.$urouter.navigateTo(`/pages/my/applyInvoic/applyInvoic?order_sn=${order_sn}`);
				} else {
					this.$urouter.navigateTo(`/pages/my/fapiao/fapiao?order_sn=${order_sn}`);
				}
			},
			//获取未读消息数量
			async getNoReadNumFuncFunc() {
				if (this.isLogin === true) {
					//请求方法
					//数据验证

					let datamsgNum = await this.$api.get(global.apiUrls.post64140908ca17c, {

					});

					if (datamsgNum.data.code != 1) {
						this.$message.info(datamsgNum.data.msg);
						return
					}
					let infomsgNum = datamsgNum.data;
					this.msgNum = infomsgNum.data
					uni.setTabBarBadge({
						index: 4,
						text: this.msgNum.no_read_num
					})
				}
			},
			pagingListPostData() {
				return this.pagingListPostDataContent
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: rgba(248, 248, 248, 1);
		background-size: 100% auto;
	}

	.order_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.order_fd0_0_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333;
	}

	.order_fd0_0 {
		border-bottom: 1px solid #eee;
		padding: 0rpx 32rpx 0rpx 32rpx;
		height: 88rpx;
	}

	.order_flex_1 {
		background: var(--benbenbgColor1);
		width: 750rpx;
		z-index: 10;
		top: 88rpx;
		background-size: 100% auto;
	}

	.order_fd1_1_c0 {
		width: 30rpx;
		height: 30rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.order_linefd1_0 {
		background: rgba(227, 29, 26, 1);
		width: 50rpx;
		height: 6rpx;
		top: 80rpx;
		background-size: 100% auto !important;
		border-radius: 10rpx 10rpx 10rpx 10rpx;
	}

	.checkTitlefd1_0 {
		font-weight: 700 !important;
		font-size: 32rpx !important;
		color: #E31D1A !important;
		background-color: rgba(255, 255, 255, 0) !important;
	}

	::v-deep .order_benbenTabsfd1_0 {
		background: rgba(255, 255, 255, 1);
		width: 686rpx;
		height: 90rpx;
		white-space: nowrap;
		text-align: center;
		font-size: 28rpx;
		font-weight: 400;
		color: #999999;
	}

	.order_flex_2 {
		padding: 32rpx 24rpx 32rpx 24rpx;
	}

	.order_fd2_2_c0_c1 {
		background: var(--benbenbgColor2);
		border-radius: 33rpx;
		width: 500rpx;
		line-height: 70rpx;
		font-size: 28rpx;
		color: #fff;
		margin: 30rpx 0rpx 0rpx 0rpx;
	}

	.order_fd2_2_c0_c0 {
		width: 400rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.order_fd2_2_c0 {
		width: 100%;
		padding: 50rpx 0rpx 50rpx 0rpx;
	}

	.order_fd2_1_c3_c6 {
		background: var(--benbenbgColor2);
		border-radius: 24rpx 24rpx 24rpx 24rpx;
		font-size: 24rpx;
		color: #fff;
		width: 130rpx;
		height: 48rpx;
		line-height: 48rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 0rpx 16rpx;
	}

	.order_fd2_1_c3_c5 {
		background: var(--benbenbgColor2);
		border-radius: 24rpx 24rpx 24rpx 24rpx;
		font-size: 24rpx;
		color: var(--benbenFontColor3);
		width: 130rpx;
		height: 48rpx;
		line-height: 44rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 0rpx 16rpx;
	}

	.order_fd2_1_c3_c1 {
		border: 1px solid #BFBFBF;
		background: rgba(255, 255, 255, 1);
		border-radius: 24rpx 24rpx 24rpx 24rpx;
		font-size: 24rpx;
		color: rgba(51, 51, 51, 1);
		width: 130rpx;
		height: 48rpx;
		line-height: 44rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 0rpx 16rpx;
	}

	.order_fd2_1_c3_c0 {
		width: 32rpx;
		height: 32rpx;
		margin: 0rpx auto 0rpx 0rpx;
	}

	.order_fd2_1_c3 {
		margin: 32rpx 0rpx 32rpx 0rpx;
	}

	.order_fd2_1_c2_c2_c1 {
		color: #E60036;
		font-size: 32rpx;
		font-weight: 700;
		line-height: 37rpx;
	}

	.order_fd2_1_c2_c2_c0 {
		color: #E60036;
		font-size: 18rpx;
		font-weight: 700;
		line-height: 31rpx;
	}

	.order_fd2_1_c2_c1 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		margin: 0rpx 12rpx 0rpx 0rpx;
	}

	.order_fd2_1_c2_c0_c1_c2 {
		color: #FF473A;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
	}

	.order_fd2_1_c2_c0_c1 {
		background: transparent;
	}

	.order_fd2_1_c2_c0_c0 {
		color: #666666;
		font-size: 24rpx;
		font-weight: 400;
		margin: 0rpx 8rpx 0rpx 0rpx;
	}

	.order_fd2_1_c2_c0 {
		margin: 0rpx auto 0rpx 0rpx;
	}

	.order_fd2_1_c2 {
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.order_fd2_1_c1_c1_c3 {
		width: 50rpx;
		height: 50rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 0rpx 0rpx auto;
	}

	.order_star1fd2_1_c1_c1_c2 {
		height: 18rpx;
		margin: 0rpx 4rpx 0rpx 0rpx;
		width: 18rpx;
	}

	.order_star1fd2_1_c1_c1_c2 {
		width: 18rpx;
		height: 18rpx;
		margin: 0rpx 4rpx 0rpx 0rpx;
	}

	.order_fd2_1_c1_c1_c1 {
		font-size: 24rpx;
		font-weight: 400;
		color: #333;
		margin: 0rpx 20rpx 0rpx 0rpx;
		max-width: 200rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.order_fd2_1_c1_c1_c0 {
		width: 56rpx;
		height: 56rpx;
		border-radius: 28rpx 28rpx 28rpx 28rpx;
		margin: 0rpx 24rpx 0rpx 0rpx;
	}

	.order_fd2_1_c1_c0_c1_c2_c1 {
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
	}

	.order_fd2_1_c1_c0_c1_c2 {
		color: #999999;
		font-size: 24rpx;
		line-height: 38rpx;
		font-weight: 400;
	}

	.order_fd2_1_c1_c0_c1_c1_c0 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
	}

	.order_fd2_1_c1_c0_c1_c1 {
		color: #999999;
		font-size: 24rpx;
		line-height: 38rpx;
		font-weight: 400;
		margin: 24rpx 0rpx 16rpx 0rpx;
	}

	.order_fd2_1_c1_c0_c1_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 700;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		line-height: 40rpx;
	}

	.order_fd2_1_c1_c0_c1 {
		margin: 10rpx 0rpx 0rpx 24rpx;
	}

	.order_fd2_1_c1_c0_c0 {
		width: 180rpx;
		height: 180rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.order_fd2_1_c1_c0 {
		padding: 32rpx 0rpx 24rpx 0rpx;
	}

	.order_fd2_1_c1 {
		border-bottom: 1px solid #eee;
		padding: 0rpx 0rpx 32rpx 0rpx;
	}

	.order_fd2_1_c0_c2 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 700;
		line-height: 40rpx;
	}

	.order_fd2_1_c0_c20089 {
		border: 1px solid #d90b20;
		color: #d90b20;
		font-size: 24rpx;
		font-weight: 700;
		line-height: 36rpx;
		padding: 0rpx 8rpx 0rpx 8rpx;
		border-radius: 8rpx;
		height: 36rpx;
		margin-left: 12rpx;
	}

	.order_fd2_1_c0_c1 {
		color: #666666;
		font-size: 24rpx;
		font-weight: 400;
		margin: 0rpx 24rpx 0rpx 0rpx;
		line-height: 33rpx;
	}

	.order_fd2_1_c0_c0 {
		color: #666666;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
	}

	.order_fd2_1_c0 {
		padding: 32rpx 0rpx 0rpx 0rpx;
	}

	.order_fd2_1 {
		background: #fff;
		background-size: 100% auto !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		padding: 0rpx 24rpx 8rpx 24rpx;
		margin: 20rpx 0rpx 0rpx 0rpx;
	}

	.order_fd2_0 {
		height: 60rpx;
	}

	.order_fd3_0_c2_c1 {
		background: var(--benbenbgColor1);
		font-size: 32rpx;
		color: var(--benbenFontColor4);
		width: 262rpx;
		height: 101rpx;
		line-height: 101rpx;
		font-weight: 500;
	}

	.order_fd3_0_c2_c0 {
		border-right: 1px solid #eee;
		background: #fff;
		font-size: 32rpx;
		color: rgba(153, 153, 153, 1);
		width: 270rpx;
		height: 101rpx;
		line-height: 101rpx;
		font-weight: 400;
	}

	.order_fd3_0_c2 {
		border-top: 1px solid #eee;
		margin: 51rpx 0rpx 0rpx 0rpx;
	}

	.order_fd3_0_c1 {
		line-height: 44rpx;
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
		text-align: center;
		margin: 32rpx 40rpx 0rpx 40rpx;
	}

	.order_fd3_0_c0 {
		line-height: 44rpx;
		font-size: 36rpx;
		font-weight: 700;
		color: #333333;
		margin: 40rpx 0rpx 0rpx 0rpx;
	}

	.order_fd3_0 {
		background: #fff;
		width: 540rpx;
		background-size: 100% auto !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.order_flex_4 {
		background: #fff;
		width: 540rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.order_fd4_2_c1 {
		border-top: 1px solid #eee;
		border-left: 1px solid #eee;
		background: #fff;
		line-height: 110rpx;
		border-radius: 0rpx 0rpx 16rpx 0rpx;
		font-size: 32rpx;
		color: var(--benbenFontColor4);
		width: 264rpx;
	}

	.order_fd4_2_c0 {
		border-top: 1px solid #eee;
		background: #fff;
		line-height: 110rpx;
		border-radius: 0rpx 0rpx 0rpx 16rpx;
		font-size: 32rpx;
		color: rgba(153, 153, 153, 1);
		padding: 0rpx 103rpx 0rpx 103rpx;
	}

	.order_fd4_2 {
		margin: 37rpx 0rpx 0rpx 0rpx;
	}

	.order_fd4_1 {
		line-height: 44rpx;
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
	}

	.order_fd4_0 {
		font-size: 36rpx;
		font-weight: 800;
		line-height: 44rpx;
		color: #333333;
		margin: 40rpx 0rpx 40rpx 0rpx;
	}

	.order_flex_5 {
		background: #fff;
		background-size: 100% auto !important;
		border-radius: 24rpx 24rpx 0rpx 0rpx;
	}

	.order_fd5_2 {
		background: var(--benbenbgColor2);
		border-radius: 44rpx 44rpx 44rpx 44rpx;
		font-size: 32rpx;
		color: rgba(255, 255, 255, 1);
		width: 686rpx;
		height: 88rpx;
		line-height: 88rpx;
		font-weight: 400;
		margin: 0rpx 32rpx 32rpx 32rpx;
	}

	.order_fd5_1_c1_c0_c1 {
		width: 36rpx;
		height: 36rpx;
	}

	.order_fd5_1_c1_c0_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
	}

	.order_fd5_1_c1_c0 {
		padding: 20rpx 0rpx 20rpx 0rpx;
	}

	.order_fd5_1_c0 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 20rpx 0rpx;
	}

	.order_fd5_1 {
		margin: 0rpx 32rpx 0rpx 32rpx;
		padding: 40rpx 0rpx 40rpx 0rpx;
	}

	.order_fd5_0_c2_c0 {
		width: 30rpx;
		height: 30rpx;
	}

	.order_fd5_0_c1 {
		color: rgba(51, 51, 51, 1);
		font-size: 32rpx;
		font-weight: 500;
		line-height: 45rpx;
	}

	.order_fd5_0_c0 {
		width: 100rpx;
		height: 90rpx;
	}

	.order_fd5_0 {
		border-bottom: 1px solid #eee;
		border-radius: 16rpx 16rpx 0rpx 0rpx;
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.order_flex_6 {
		width: 614rpx;
	}

	.order_fd6_7_c1 {
		background: var(--benbenbgColor2);
		font-size: 32rpx;
		color: var(--benbenFontColor3);
		width: 240rpx;
		height: 72rpx;
		font-weight: 400;
		border-radius: 32rpx;
		line-height: 72rpx;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.order_fd6_7_c0 {
		background: rgba(230, 230, 230, 1);
		font-size: 32rpx;
		color: var(--benbenFontColor0);
		width: 240rpx;
		height: 72rpx;
		line-height: 72rpx;
		font-weight: 400;
		border-radius: 32rpx;
	}

	.order_fd6_7 {
		margin: 100rpx 0rpx 0rpx 0rpx;
	}

	.order_fd6_4_c0_c1_c0 {
		background: rgba(248, 248, 248, 1);
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		font-size: 24rpx;
		color: #333;
		height: 80rpx;
		line-height: 80rpx;
		font-weight: 500;
		margin: 0rpx 16rpx 16rpx 0rpx;
		width: 160rpx;
	}

	.order_fd6_4_c0_c0_c0 {
		background: var(--benbenbgColor2);
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		font-size: 24rpx;
		color: #fff;
		height: 80rpx;
		line-height: 80rpx;
		font-weight: 500;
		margin: 0rpx 16rpx 16rpx 0rpx;
		width: 160rpx;
	}

	.order_fd6_3 {
		padding: 40rpx 32rpx 16rpx 32rpx;
	}

	.order_fd6_2_c0_c1_c0 {
		background: rgba(248, 248, 248, 1);
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		font-size: 24rpx;
		color: #333;
		width: 160rpx;
		height: 80rpx;
		line-height: 80rpx;
		font-weight: 500;
		margin: 0rpx 16rpx 16rpx 0rpx;
	}

	.order_fd6_2_c0_c0_c0 {
		background: var(--benbenbgColor2);
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		font-size: 24rpx;
		color: var(--benbenFontColor3);
		width: 160rpx;
		height: 80rpx;
		line-height: 80rpx;
		font-weight: 500;
		margin: 0rpx 16rpx 16rpx 0rpx;
	}

	.order_fd6_2 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		width: 600rpx;
	}

	.order_fd6_1_c0 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 700;
		color: #333333;
	}

	.order_fd6_1 {
		padding: 100rpx 32rpx 16rpx 32rpx;
	}

	.order_fd6_0_c0 {
		line-height: 26rpx;
		font-weight: 700;
		font-size: 32rpx;
	}

	.order_fd6_0 {
		padding: 120rpx 0rpx 0rpx 32rpx;
	}
</style>